/* ========== 商品列表样式 ========== */
#goodsList {
    display: flex;
    flex-wrap: wrap;
}

/* ========== 单个商品样式 ========== */
.goods {
    width: 220px;
    padding: 10px 9px 10px;
    border: 1px solid transparent;
    cursor: pointer;
}
.goods:hover {
    border: 1px solid #e9e9e9;
    box-shadow: 0 0 2px 2px #f8f8f8;
}

.goods-img {
    width: 220px;
    height: 220px;
    border: 0;
    vertical-align: middle;
    margin-bottom: 15px;
}

.goods-price {
    color: #e4393c;
    font-size: 20px;
    margin-bottom: 8px;
}

.goods-desc {
    font-size: 12px;
    color: #666;
    line-height: 20px;
    margin-bottom: 8px;
}

.goods-name {
    font-size: 12px;
    color: #999;
    height: 18px;
    line-height: 18px;
    margin-bottom: 9px;
}

.goods-tag-group {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
}

.goods-tag {
    border: 1px solid;
    border-radius: 2px;
    padding: 0 3px;
}

/* ========== 通用样式 ========== */
.one-row-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.two-row-overflow {
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}